<?php
/**
 * Created by PhpStorm.
 * User: Chris
 * Date: 15/9/7
 * Time: 下午11:53
 */

namespace Fuel\Tasks;

include ('redisqueuetask.php');

class DemoTask extends RedisQueueTask {

    protected static $REDIS_QUEUE_KEY = "REPLACE_ME"; // redis queue key
    protected static $REDIS_QUEUE_WAIT_SEC = 10; // 每次 redis pop等待时间
    protected function processObj($obj){
        // @todo: do your business here!

    }
}